# print("购物小票")
# print("单号：DH202301010001")
# print("时间：2023-01-01 08:56:15")
# print("名称  数量  单价   金额")
# print("金士顿U盘8G  1  40.00  40.00")
# print("胜创16GTF卡  1  50.00  50.00")
# print("读卡器  1  8.00  8.00")
# print("网线2米  1  5.00  5.00")
# print("总数：4")
# print("总额：103.00")
# print("折后总额：103.00")
# print("实收：103.00")
# print("找零：0.00")
# print("收银：管理员")
#
# # 小票数据
# header = "购物小票"
# shop_no = "DH202301010001"
# date_time = "2023-01-01 08:56:15"
#
# items = [
#     ("金士顿U盘8G", 1, 40.00),
#     ("胜创16GTF卡", 1, 50.00),
# #     ("读卡器", 1, 8.00),
# #     ("网线2米", 1, 5.00),
# # ]
# #
# # total_qty = sum(qty for _, qty, _ in items)
# # total_amt = sum(qty * price for _, qty, price in items)
# #
# # # 打印函数
# # def print_receipt():
# #     print(header.center(40))
# #     print(f"单号：{shop_no}")
# #     print(f"时间：{date_time}")
# #     print("-" * 40)
# #     print(f"{'名称':<20} {'数量':>4} {'单价':>8} {'金额':>8}")
# #     print("-" * 40)
# #     for name, qty, price in items:
# #         print(f"{name:<20} {qty:>4} {price:>8.2f} {qty*price:>8.2f}")
# #     print("-" * 40)
# #     print(f"{'总数：':<20}{total_qty:>4}")
# #     print(f"{'总额：':<28}{total_amt:>8.2f}")
# #     print(f"{'折后总额：':<24}{total_amt:>8.2f}")
# #     print(f"{'实收：':<28}{total_amt:>8.2f}")
# #     print(f"{'找零：':<28}{0.00:>8.2f}")
# #     print(f"{'收银：':<28}管理员")
# #
# # if __name__ == "__main__":
# #     print_receipt()
weight = float(input("请输入你的体重："))
hight = float(input("请输入你的身高："))
BMI = weight / hight**2
print("你的BMI为",+BMI)
if BMI < 18.5:
    print("你的体重过轻")
elif BMI >= 18.5 and BMI <= 25:
    print("你的体重正常")
elif BMI >= 25 and BMI <= 30:
    print("你的体重超重")
else:
    print("肥胖")
